import axios from 'axios'
import Mock from 'mockjs'


// Mock数据示例
Mock.mock(`/api/getList`, {
    'list|10-20': [{
        'id|+1': 1,
        'title': '@ctitle(10, 20)',
        'image': '@image(\'200x100\', \'#50B347\', \'Hello\')',
        'datetime': '@datetime()',
        'author': '@cname()',
        'description': '@ctitle(30, 100)'
    }]
})

export default Mock